package com.wish.g1.contract.mapper;

import com.wish.g1.contract.entity.Contract;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hy-woo
 * @since 2022-11-21
 */
public interface ContractMapper extends BaseMapper<Contract> {

    @Select("SELECT * FROM tb_contract WHERE `status`=2")
    List<Contract> breakList();

}
